<?php

class HiddenField extends Object
{
    var $Type = 'HiddenField';    
    
    var $_Name;
    var $_Value;

    function __construct(&$form, $name, $value)
    {
        $this->_Name  = $name;
        $this->_Value = $value;
    }

    function Validate()
    {
        return true;
    }

    function ToArray()
    {
        return array('type'  => 'HiddenField',
                     'name'  => $this->_Name,
                     'value' => $this->_Value);
    }
}

?>